package pattern.proxy;



import java.io.BufferedInputStream;

public class Main {

    public static void main(String[] args) {


        //真实对象的行为
        DigitalSell realObj = new DigitalSellReal();
        realObj.sell();


        //代理对象的行为
        DigitalSell proxy = new DigitalSellProxy();
        proxy.sell();


    }
}
